#include<bits/stdc++.h>
using namespace std;
signed main() {
	int t, a, b;
	cin >> t;
	while (t--) {
		cin >> a >> b;
		if ((a + b) % 2)
			cout << "Alice" << endl;
		else
			cout << "Bob" << endl;
	}
	return 0;
}
